package com.kly.user.traffic;


import com.alibaba.nacos.api.config.annotation.NacosValue;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class ModelTrafficAssignEngine {


    //当日最大建联数
    @NacosValue(value = "${modelDailyMaxmumMatches:50}", autoRefreshed = true)
    private Integer modelDailyMaxmumMatches;

    //档期最低建联数
    @NacosValue(value = "${modelDailyMinimumMatches:3}", autoRefreshed = true)
    private Integer modelDailyMinimumMatches;

    //每30秒获取主播的状态
    @Scheduled(fixedDelay = 1000 * 20)
    public void createModelWorkingLoadPool() {

        List<ModelWorkingLoad> modelWorkingLoadList = new ArrayList<>();
        


    }


}
